package com.syj.collect.entry;

import com.syj.collect.base.BaseBean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;


public class AllFragmentBean  extends BaseBean implements Serializable {

    /**
     * data : {"totalCount":1,"pageSize":10,"totalPage":1,"currPage":1,"list":[{"id":"55","stationCode":"A45","name":"北环大道","address":null,"riverSystem":"深圳湾","river":"大沙河","pollutionStatus":"896555","addMsg":"666666","description":null,"isCollect":"0","isSubmit":"1","reportDate":null,"cod":0,"nh3":0,"tn":0,"tp":0,"anionic":0,"urls":["/file-path/imgs/1616580441133.jpg","/file-path/imgs/1616580441118.jpg","/file-path/imgs/1616580441133.jpg"]}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean  {
        /**
         * totalCount : 1
         * pageSize : 10
         * totalPage : 1
         * currPage : 1
         * list : [{"id":"55","stationCode":"A45","name":"北环大道","address":null,"riverSystem":"深圳湾","river":"大沙河","pollutionStatus":"896555","addMsg":"666666","description":null,"isCollect":"0","isSubmit":"1","reportDate":null,"cod":0,"nh3":0,"tn":0,"tp":0,"anionic":0,"urls":["/file-path/imgs/1616580441133.jpg","/file-path/imgs/1616580441118.jpg","/file-path/imgs/1616580441133.jpg"]}]
         */

        private int totalCount;
        private int pageSize;
        private int totalPage;
        private int currPage;
        private List<ItemBean> list = new ArrayList<ItemBean>();

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getCurrPage() {
            return currPage;
        }

        public void setCurrPage(int currPage) {
            this.currPage = currPage;
        }

        public List<ItemBean> getList() {
            return list;
        }

        public void setList(List<ItemBean> list) {
            this.list = list;
        }

        public static class ItemBean implements Serializable {
            /**
             * id : 55
             * stationCode : A45
             * name : 北环大道
             * address : null
             * riverSystem : 深圳湾
             * river : 大沙河
             * pollutionStatus : 896555
             * addMsg : 666666
             * description : null
             * isCollect : 0
             * isSubmit : 1
             * reportDate : null
             * cod : 0.0
             * nh3 : 0.0
             * tn : 0.0
             * tp : 0.0
             * anionic : 0.0
             * urls : ["/file-path/imgs/1616580441133.jpg","/file-path/imgs/1616580441118.jpg","/file-path/imgs/1616580441133.jpg"]
             */

            private int id;
            private String stationCode;
            private String name;
            private Object address;
            private String riverSystem;
            private String river;
            private String pollutionStatus;
            private String addMsg;
            private Object description;
            private int isCollect;
            private String isSubmit;
            private Object reportDate;
            private double cod;
            private double nh3;
            private double tn;
            private double tp;
            private double anionic;
            private List<String> urls;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getStationCode() {
                return stationCode;
            }

            public void setStationCode(String stationCode) {
                this.stationCode = stationCode;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Object getAddress() {
                return address;
            }

            public void setAddress(Object address) {
                this.address = address;
            }

            public String getRiverSystem() {
                return riverSystem;
            }

            public void setRiverSystem(String riverSystem) {
                this.riverSystem = riverSystem;
            }

            public String getRiver() {
                return river;
            }

            public void setRiver(String river) {
                this.river = river;
            }

            public String getPollutionStatus() {
                return pollutionStatus;
            }

            public void setPollutionStatus(String pollutionStatus) {
                this.pollutionStatus = pollutionStatus;
            }

            public String getAddMsg() {
                return addMsg;
            }

            public void setAddMsg(String addMsg) {
                this.addMsg = addMsg;
            }

            public Object getDescription() {
                return description;
            }

            public void setDescription(Object description) {
                this.description = description;
            }

            public int getIsCollect() {
                return isCollect;
            }

            public void setIsCollect(int isCollect) {
                this.isCollect = isCollect;
            }

            public String getIsSubmit() {
                return isSubmit;
            }

            public void setIsSubmit(String isSubmit) {
                this.isSubmit = isSubmit;
            }

            public Object getReportDate() {
                return reportDate;
            }

            public void setReportDate(Object reportDate) {
                this.reportDate = reportDate;
            }

            public double getCod() {
                return cod;
            }

            public void setCod(double cod) {
                this.cod = cod;
            }

            public double getNh3() {
                return nh3;
            }

            public void setNh3(double nh3) {
                this.nh3 = nh3;
            }

            public double getTn() {
                return tn;
            }

            public void setTn(double tn) {
                this.tn = tn;
            }

            public double getTp() {
                return tp;
            }

            public void setTp(double tp) {
                this.tp = tp;
            }

            public double getAnionic() {
                return anionic;
            }

            public void setAnionic(double anionic) {
                this.anionic = anionic;
            }

            public List<String> getUrls() {
                return urls;
            }

            public void setUrls(List<String> urls) {
                this.urls = urls;
            }

            @Override
            public boolean equals(Object o) {
                if (this == o) return true;
                if (o == null || getClass() != o.getClass()) return false;
                ItemBean itemBean = (ItemBean) o;
                return id == itemBean.id;
            }

            @Override
            public int hashCode() {
                return Objects.hash(id);
            }
        }
    }
}
